<?php defined( '_VALID_MOS' ) or die( 'Warning: Access Denied !' );
	$mysqli = new mysqli("localhost", "duclan", "duclan", "duclan_db");
	// user: duclan, password: duclan, database_name: chienthang
	if (mysqli_connect_errno()) {
		printf("Connect failed: %s\n", mysqli_connect_error());
		exit();
	}

	if (!$mysqli->set_charset("utf8")) {
		printf("Error loading character set utf8: %s\n", $mysqli->error);
	}
?>